using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

using DataAccess;
using DataTransferObject;

namespace Business
{
    
    public class clsThuKhoBUS
    {
        private clsSachBUS SachBUS;
        private clsTapChiBUS TapChiBUS;
        private clsSachHongBUS SachHongBUS;
        private clsSachHongDTO SachHongDTO;
        private clsTheLoaiBUS TheLoaiBUS;
        private clsTheLoaiDTO TheLoaiDTO;

        public clsThuKhoBUS()
        {
            this.SachBUS = new clsSachBUS();
            this.TapChiBUS = new clsTapChiBUS();
            this.SachHongBUS = new clsSachHongBUS();
            this.SachHongDTO = new clsSachHongDTO();
            this.TheLoaiDTO = new clsTheLoaiDTO();
            this.TheLoaiBUS = new clsTheLoaiBUS();
        }

        public DataTable ThuKhoThongKeAnPhamTrongThuVien()
        {
            return TapChiBUS.DanhSachTapChi();
        }

        public DataTable ThuKhoThongKeSachTrongThuVien()
        {
            return SachBUS.LayTTSachThongKe();
        }

        public DataTable ThuKhoThongKeSachHongTrongThuVien(clsSachHongDTO obj)
        {
            return SachHongBUS.ThongKeSachBiHong(obj);
        }

        public DataTable ThuKoThongKeTheLoaiSachTrongThuVien(clsTheLoaiDTO  obj)
        {
            return TheLoaiBUS.ThongKeTheLoai(obj);
        }

        public DataTable ThuKhoThongKeSachConTrongKho()
        {
            return SachBUS.LaySachConTrongKho();
        }
    }

   
}
